<?php
/*========================================= JooSam =========================================/
/																							/
/	Extention:		JooSam																	/
/	Created by:		Broadcastweb.eu - Paules												/
/	Site:			http://www.broadcastweb.eu												/
/	Email:			support@broadcastweb.eu													/
/	Copyright:		2011 - 2012 (c) Broadcastweb.eu											/
/	License:		CC BY-NC-ND 3.0 ~ http://creativecommons.org/licenses/by-nc-nd/3.0/		/
/	File Version:	0003																	/
/																							/
/========================================== JooSam ========================================*/
// Joomla security
defined('_JEXEC') or die;

// Import Joomla Data
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
JHtml::_('behavior.tooltip');
JHtml::_('behavior.formvalidation');
?>

<script>
	Joomla.submitbutton = function(task){if(task == 'textcode.cancel' || document.formvalidator.isValid(document.id('textcode-form'))){Joomla.submitform(task, document.getElementById('textcode-form'));}else{alert("<?php echo JText::_('COM_JOOSAM_VIEWS_TEXTCODE_003'); ?>");}return false;}
</script>
<form action="<?php echo JRoute::_('index.php?option=com_joosam&layout=edit&id='.(int) $this->item->id); ?>" method="post" name="adminForm" id="textcode-form" class="form-validate">
	<table>
		<tbody>
			<tr>
				<td style="height:200px;">
					<fieldset class="panelform jsm_fieldset" style="height:100%;">
						<ul class="adminformlist" style="height:100%;">
							<?php foreach($this->form->getFieldset('textoptions') as $field): ?>
							<li style="margin:0;padding:0;min-height:26px;"><?php echo $field->label;echo $field->input;?></li>
							<?php endforeach; ?>
						</ul>
					</fieldset>
				</td>
			</tr>
		</tbody>
		<tfoot></tfoot>
	</table>
	<div>
		<?php foreach($this->form->getFieldset('hiddendata') as $field): ?>
		<?php echo $field->label;echo $field->input;?>
		<?php endforeach; ?>
		<input type="hidden" name="task" value="" />
		<?php echo JHtml::_('form.token'); ?>
	</div>
	<div class="clr"></div>
</form>
<div class="clr"></div>